package com.wthink.newMain.settings.config.inner.netconfig

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import com.wthink.hzgj.R
import com.wthink.hzgj.databinding.FragmentNetconfigBinding
import com.wthink.newMain.settings.config.inner.netconfig.viewmodel.ConfigNewViewmodel

class ConfigNewFragment : Fragment(){
    private val viewModel by viewModels<ConfigNewViewmodel>()

    private lateinit var binding: FragmentNetconfigBinding

    override fun onCreateView(
        inflater: LayoutInflater, container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        binding = DataBindingUtil.inflate(
            inflater,
            R.layout.fragment_netconfig,
            container,
            false
        )
        binding.viewModel = viewModel
        binding.lifecycleOwner = this
        return binding.root
    }
}